package com.xuhuan.practice.utils;

import cn.hutool.crypto.SecureUtil;

/**
 * @author: huan.xu
 * @create: 2024/6/10 16:12
 * @description: md5工具类
 **/
public class Md5Util {

  private Md5Util(){}

  /**
   * 对字符串进行md5加密
   * @param string
   * @return
   */
  public static String md5String(String string){
    String s = SecureUtil.md5(string);
    return s;
  }
}
